package com.zx.servicelearn;

import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.View;

import com.zx.servicelearn.activity.IPCLearnActivity1;
import com.zx.servicelearn.activity.IntentServiceLearnActivity;
import com.zx.servicelearn.activity.ProviderActivity;
import com.zx.servicelearn.activity.RemoteViewLearnActivity1;
import com.zx.servicelearn.activity.ServiceLearn1Activity;
import com.zx.servicelearn.activity.ServiceLearn3Activity;
import com.zx.servicelearn.activity.ServiceLearn4Activity;

public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
    }


    public void gotoServiceLearn1Activity(View view) {
        Intent intent = new Intent(this, ServiceLearn1Activity.class);
        startActivity(intent);
    }

    public void gotoIntentServiceLearnActivity(View view) {
        Intent intent = new Intent(this, IntentServiceLearnActivity.class);
        startActivity(intent);
    }

    public void gotoServiceLearn3Activity(View view) {
        Intent intent = new Intent(this, ServiceLearn3Activity.class);
        startActivity(intent);
    }

    public void gotoServiceLearn4Activity(View view) {
        Intent intent = new Intent(this, ServiceLearn4Activity.class);
        startActivity(intent);
    }

    public void IPCLearnActivity1(View view) {
        Intent intent = new Intent(this, IPCLearnActivity1.class);
        startActivity(intent);
    }

    public void RemoteViewLearnActivity1(View view) {
        Intent intent = new Intent(this, RemoteViewLearnActivity1.class);
        startActivity(intent);
    }

    public void ProviderActivity(View view) {
        Intent intent = new Intent(this, ProviderActivity.class);
        startActivity(intent);
    }
}
